home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / util / wb / CC1_20.lha / cc-includes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-29  |  1.6 KB  |  71 lines

  1. /* cc-includes.h */
  2.  
  3. #include <exec/exec.h>
  4. #include <exec/execbase.h>
  5. #include <exec/lists.h>
  6. #include <exec/memory.h>
  7. #include <exec/nodes.h>
  8. #include <exec/types.h>
  9. #include <graphics/gfx.h>
  10. #include <graphics/gfxmacros.h>
  11. #include <graphics/display.h>
  12. #include <graphics/displayinfo.h>
  13. #include <intuition/intuition.h>
  14. #include <intuition/intuitionbase.h>
  15. #include <intuition/screens.h>
  16. #include <libraries/diskfont.h>
  17. #include <libraries/gadtools.h>
  18. #include <math.h>
  19. #include <stdlib.h>
  20. #include <stdio.h>
  21. #include <string.h>
  22.  
  23. /* die entsprechenden Matheroutinen includen */
  24.  
  25. #ifdef _M68881
  26.     #include <m68881.h>
  27. #endif
  28.  
  29. /* Prototypes für Libraryfunctions */
  30.  
  31. #include <proto/diskfont.h>
  32. #include <proto/exec.h>
  33. #include <proto/gadtools.h>
  34. #include <proto/graphics.h>
  35. #include <proto/intuition.h>
  36. #include <proto/utility.h>
  37.  
  38. #define __CXM33 __UCXM33                /* für Utillitie.library */
  39. #define __CXD33 __UCXD33
  40. #define __CXM22 __UCXM22
  41. #define __CXD22 __UCXD22
  42.  
  43. #define MakeID(a,b,c,d)    ( (LONG)(a)<<24L | (LONG)(b)<<16L | (c)<<8 | (d) )
  44.  
  45. #define PREF_FORM        MakeID('F','O','R','M')
  46. #define PREF_PREF        MakeID('P','R','E','F')
  47. #define PREF_ICAC        MakeID('I','C','A','C')
  48. #define PREF_DCAC        MakeID('D','C','A','C')
  49. #define PREF_CBCK        MakeID('C','B','C','K')
  50.  
  51. typedef struct                            /* Prefs V3.1 */
  52. {
  53.     ULONG    id;                                /* FORM,ICAC,DCAC,CBCK */
  54.     ULONG    len;                            /* 4+(8+2)+(8+2)+(8+2)=34 */
  55. } Prefs_Hdr;
  56.  
  57. typedef struct                                /* ICAC : 2 Bytes */
  58. {
  59.     UBYTE    cache,burst;
  60. } Data_ICache;
  61.  
  62. typedef struct                                /* DCAC : 2 Bytes */
  63. {
  64.     UBYTE    cache,burst;
  65. } Data_DCache;
  66.  
  67. typedef struct                                /* CBCK : 2 Bytes */
  68. {
  69.     UBYTE    cpybck,pad;
  70. } Data_CpyBck;
  71.